<admintpl file="header" />
</head>
<body style="min-width: 800px;">
	<div class="wrap js-check-wrap">
		
		<form class="js-ajax-form" method="post">
			
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>												
						<th width="100">备份名称</th>
						<th width="150">文件大小</th>
						<th width="150">备份时间</th>					
						<th width="80">操作</th>
					</tr>
				</thead>
				<foreach name="backups" item="vo">
				<tr>									
					<td>{$vo.name}</td>
					<td>{$vo.total_size}</td>
					<td>{$vo.date_str}</td>					
					<td>
						<a href="{:U('Database/import_data',array('filename'=>$vo['name']))}" class="js-ajax-dialog-btn" >还原</a> 
						<a href="{:U('Database/del_backup',array('backup'=>$vo['name']))}" class="js-ajax-delete">{:L('DELETE')}</a>
					</td>
				</tr>
				</foreach>
				
			</table>
			
			
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>